//
//  DLEmoticonItem.m
//  IMTest
//
//  Created by mac on 2020/3/31.
//  Copyright © 2020 yanbo li. All rights reserved.
//

#import "DLEmoticonItem.h"

@interface DLEmoticonItem ()

@end

@implementation DLEmoticonItem

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        UIImageView *imageView = [[UIImageView alloc] init];
        [self.contentView addSubview:imageView];
        _imageView = imageView;
        imageView.userInteractionEnabled = YES;
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    self.imageView.frame = self.contentView.bounds;
}

@end
